Leadtools.Dicom.Scu Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
TryParse Method
See Also 
Leadtools.Dicom.Scu.Common Namespace > Generic Enum Class : TryParse Method




name
The value to be parsed.
name
The value to be parsed.
Tries to parse the string into an enumeration.

Syntax

Visual Basic (Declaration) 
Public Shared Function TryParse( _
   ByVal name As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim name As String
Dim value As Boolean
 
value = Enum(Of T).TryParse(name)
C# 
public static bool TryParse( 
   string name
)
Managed Extensions for C++ 
public: static bool TryParse( 
   string* name
) 
C++/CLI 
public:
static bool TryParse( 
   String^ name
) 

Parameters

name
The value to be parsed.

Return Value

True if the value can be converted to the specified type.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom.Scu requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features